import request from '@/utils/request'

export default{
    //初始化数据
    getPage(c1id,c2id,c3id){
        return request.get(`/admin/product/attrInfoList/${c1id}/${c2id}/${c3id}`)
    },
    //添加保存
    addSave(data){
        return request.post(`/admin/product/saveAttrInfo`,data)
    },
    //删除
    deleteAttr(id){
        return request.delete(`/admin/product/deleteAttr/${id}`)
    },
    //获取销售属性下拉
    getSaleAttr(){
        return request.get(`/admin/product/baseSaleAttrList`)
    }
}